package com.springboot.framework.controller.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author SWF
 * @Date 2019/6/6 16:19
 **/
@Data
public class ShopInsertBean {

    @NotEmpty(message = "参数错误")
    private String name;

    @NotEmpty(message = "参数错误")
    private String areaCode;

    @NotEmpty(message = "参数错误")
    private String areaName;

    @NotEmpty(message = "参数错误")
    private String address;
    /**
     * 联系方式
     */
    @NotEmpty(message = "参数错误")
    private String contact;
    /**
     * 经度
     */
    @NotNull(message = "参数错误")
    private BigDecimal longitude;
    /**
     * 纬度
     */
    @NotNull(message = "参数错误")
    private BigDecimal latitude;

    @NotNull(message = "参数错误")
    private String businessLicenseImg;
}
